package Math;

public class runtime {
    public static void main(String[] args) {
        Runtime r = Runtime.getRuntime();
        //r.exit(0);
        System.out.println(r.availableProcessors());

        System.out.println(r.totalMemory() / 1024.0 / 1024.0 + "MB");

        System.out.println(r.freeMemory() / 1024.0 / 1024.0 + "MB");

    }
}
